<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::rec_3d_framework::Source&lt; PointInT &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1rec__3d__framework_1_1_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-types">Protected 类型</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1rec__3d__framework_1_1_source-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::rec_3d_framework::Source&lt; PointInT &gt; 模板类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Abstract data source class, manages filesystem, incremental training, etc.  
 <a href="classpcl_1_1rec__3d__framework_1_1_source.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="source_8h_source.html">source.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::rec_3d_framework::Source&lt; PointInT &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1rec__3d__framework_1_1_source.png" usemap="#pcl::rec_5F3d_5Fframework::Source_3C_20PointInT_20_3E_map" alt=""/>
  <map id="pcl::rec_5F3d_5Fframework::Source_3C_20PointInT_20_3E_map" name="pcl::rec_5F3d_5Fframework::Source_3C_20PointInT_20_3E_map">
<area href="classpcl_1_1rec__3d__framework_1_1_mesh_source.html" title="Data source class based on mesh models" alt="pcl::rec_3d_framework::MeshSource&lt; PointInT &gt;" shape="rect" coords="0,56,351,80"/>
<area href="classpcl_1_1rec__3d__framework_1_1_registered_views_source.html" title="Data source class based on partial views from sensor. In this case, the training data is obtained dir..." alt="pcl::rec_3d_framework::RegisteredViewsSource&lt; PointInT &gt;" shape="rect" coords="361,56,712,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a82c119c39e2e9899ef7046d48a9b966d"><td class="memItemLeft" align="right" valign="top"><a id="a82c119c39e2e9899ef7046d48a9b966d"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getScale</b> ()</td></tr>
<tr class="separator:a82c119c39e2e9899ef7046d48a9b966d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a911d08798e3e7beb82624244173f5101"><td class="memItemLeft" align="right" valign="top"><a id="a911d08798e3e7beb82624244173f5101"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setModelScale</b> (float s)</td></tr>
<tr class="separator:a911d08798e3e7beb82624244173f5101"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a7487a2670e18b433016d8df0901dd2"><td class="memItemLeft" align="right" valign="top"><a id="a7a7487a2670e18b433016d8df0901dd2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFilterDuplicateViews</b> (bool f)</td></tr>
<tr class="separator:a7a7487a2670e18b433016d8df0901dd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2b148042515f2d3f820196d0e44d74c"><td class="memItemLeft" align="right" valign="top"><a id="af2b148042515f2d3f820196d0e44d74c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>getModelsInDirectory</b> (bf::path &amp;dir, std::string &amp;rel_path_so_far, std::vector&lt; std::string &gt; &amp;relative_paths, std::string &amp;ext)</td></tr>
<tr class="separator:af2b148042515f2d3f820196d0e44d74c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a480e2213384ee8f9e089f7936302fd68"><td class="memItemLeft" align="right" valign="top"><a id="a480e2213384ee8f9e089f7936302fd68"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>voxelizeAllModels</b> (float resolution)</td></tr>
<tr class="separator:a480e2213384ee8f9e089f7936302fd68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a301528206ea82bed651e09d06ef1a6c3"><td class="memItemLeft" align="right" valign="top"><a id="a301528206ea82bed651e09d06ef1a6c3"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1rec__3d__framework_1_1_source.html#a301528206ea82bed651e09d06ef1a6c3">generate</a> (std::string &amp;training_dir)=0</td></tr>
<tr class="memdesc:a301528206ea82bed651e09d06ef1a6c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generate model representation <br /></td></tr>
<tr class="separator:a301528206ea82bed651e09d06ef1a6c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bf83bd4adc6dce733ebae064d710420"><td class="memItemLeft" align="right" valign="top"><a id="a4bf83bd4adc6dce733ebae064d710420"></a>
boost::shared_ptr&lt; std::vector&lt; <a class="el" href="classpcl_1_1rec__3d__framework_1_1_model.html">ModelT</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1rec__3d__framework_1_1_source.html#a4bf83bd4adc6dce733ebae064d710420">getModels</a> ()</td></tr>
<tr class="memdesc:a4bf83bd4adc6dce733ebae064d710420"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the generated model <br /></td></tr>
<tr class="separator:a4bf83bd4adc6dce733ebae064d710420"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17d87067fa9c6d4c5daec66938d86fd6"><td class="memItemLeft" align="right" valign="top"><a id="a17d87067fa9c6d4c5daec66938d86fd6"></a>
boost::shared_ptr&lt; std::vector&lt; <a class="el" href="classpcl_1_1rec__3d__framework_1_1_model.html">ModelT</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getModels</b> (std::string &amp;model_id)</td></tr>
<tr class="separator:a17d87067fa9c6d4c5daec66938d86fd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12f0b471aa991bc9b7f8b3d88e2821f0"><td class="memItemLeft" align="right" valign="top"><a id="a12f0b471aa991bc9b7f8b3d88e2821f0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>modelAlreadyTrained</b> (<a class="el" href="classpcl_1_1rec__3d__framework_1_1_model.html">ModelT</a> m, std::string &amp;base_dir, std::string &amp;descr_name)</td></tr>
<tr class="separator:a12f0b471aa991bc9b7f8b3d88e2821f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8daa80ab90b6bf61df2c0f6ad9940158"><td class="memItemLeft" align="right" valign="top"><a id="a8daa80ab90b6bf61df2c0f6ad9940158"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>getModelDescriptorDir</b> (<a class="el" href="classpcl_1_1rec__3d__framework_1_1_model.html">ModelT</a> m, std::string &amp;base_dir, std::string &amp;descr_name)</td></tr>
<tr class="separator:a8daa80ab90b6bf61df2c0f6ad9940158"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21422d3abaa2208c57252914e87f8d3f"><td class="memItemLeft" align="right" valign="top"><a id="a21422d3abaa2208c57252914e87f8d3f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeDescDirectory</b> (<a class="el" href="classpcl_1_1rec__3d__framework_1_1_model.html">ModelT</a> m, std::string &amp;base_dir, std::string &amp;descr_name)</td></tr>
<tr class="separator:a21422d3abaa2208c57252914e87f8d3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0006f44be9690f8034e0b2acf5f5ec71"><td class="memItemLeft" align="right" valign="top"><a id="a0006f44be9690f8034e0b2acf5f5ec71"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setPath</b> (std::string &amp;path)</td></tr>
<tr class="separator:a0006f44be9690f8034e0b2acf5f5ec71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4998fcdc012fbe0bc4951ce26698bfbd"><td class="memItemLeft" align="right" valign="top"><a id="a4998fcdc012fbe0bc4951ce26698bfbd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setLoadViews</b> (bool load)</td></tr>
<tr class="separator:a4998fcdc012fbe0bc4951ce26698bfbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a>
Protected 类型</h2></td></tr>
<tr class="memitem:acc41c07aceaab4dd0dc27c657532d1b5"><td class="memItemLeft" align="right" valign="top"><a id="acc41c07aceaab4dd0dc27c657532d1b5"></a>
typedef <a class="el" href="classpcl_1_1rec__3d__framework_1_1_model.html">Model</a>&lt; PointInT &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ModelT</b></td></tr>
<tr class="separator:acc41c07aceaab4dd0dc27c657532d1b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a394943037728bd63a62fc5b0f4286fd3"><td class="memItemLeft" align="right" valign="top"><a id="a394943037728bd63a62fc5b0f4286fd3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>getIdAndClassFromFilename</b> (std::string &amp;filename, std::string &amp;id, std::string &amp;classname)</td></tr>
<tr class="separator:a394943037728bd63a62fc5b0f4286fd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9b74acbaa0f4aaeb3eabc8250b60453"><td class="memItemLeft" align="right" valign="top"><a id="af9b74acbaa0f4aaeb3eabc8250b60453"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>createTrainingDir</b> (std::string &amp;training_dir)</td></tr>
<tr class="separator:af9b74acbaa0f4aaeb3eabc8250b60453"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e270691b2d0754084932d47307dadd0"><td class="memItemLeft" align="right" valign="top"><a id="a7e270691b2d0754084932d47307dadd0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>createClassAndModelDirectories</b> (std::string &amp;training_dir, std::string &amp;class_str, std::string &amp;id_str)</td></tr>
<tr class="separator:a7e270691b2d0754084932d47307dadd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:ac2779f8bef72a0327f58c9967d3c570e"><td class="memItemLeft" align="right" valign="top"><a id="ac2779f8bef72a0327f58c9967d3c570e"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>path_</b></td></tr>
<tr class="separator:ac2779f8bef72a0327f58c9967d3c570e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85018a4bd3532c9d18fd23ab47455bb3"><td class="memItemLeft" align="right" valign="top"><a id="a85018a4bd3532c9d18fd23ab47455bb3"></a>
boost::shared_ptr&lt; std::vector&lt; <a class="el" href="classpcl_1_1rec__3d__framework_1_1_model.html">ModelT</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>models_</b></td></tr>
<tr class="separator:a85018a4bd3532c9d18fd23ab47455bb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbc75bb8c94cd914bed290d5f86a7510"><td class="memItemLeft" align="right" valign="top"><a id="adbc75bb8c94cd914bed290d5f86a7510"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>model_scale_</b></td></tr>
<tr class="separator:adbc75bb8c94cd914bed290d5f86a7510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acefe9847705ed9f02914e2d90275a94a"><td class="memItemLeft" align="right" valign="top"><a id="acefe9847705ed9f02914e2d90275a94a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>filter_duplicate_views_</b></td></tr>
<tr class="separator:acefe9847705ed9f02914e2d90275a94a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66316d1168ee136805fa674d4f75b1a"><td class="memItemLeft" align="right" valign="top"><a id="ae66316d1168ee136805fa674d4f75b1a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>load_views_</b></td></tr>
<tr class="separator:ae66316d1168ee136805fa674d4f75b1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;typename PointInT&gt;<br />
class pcl::rec_3d_framework::Source&lt; PointInT &gt;</h3>

<p>Abstract data source class, manages filesystem, incremental training, etc. </p>
<dl class="section author"><dt>作者</dt><dd>Aitor Aldoma </dd></dl>
</div><hr/>该类的文档由以下文件生成:<ul>
<li>apps/3d_rec_framework/include/pcl/apps/3d_rec_framework/pc_source/<a class="el" href="source_8h_source.html">source.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>rec_3d_framework</b></li><li class="navelem"><a class="el" href="classpcl_1_1rec__3d__framework_1_1_source.html">Source</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
